package com.lufei.message_system.Data.UserVD;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "用户视图对象")
public class UserVO {
    @Schema(description = "学号", example = "20230001")
    private String userId;

    @Schema(description = "姓名", example = "张三")
    private String name;

    @Schema(description = "大学名", example = "大连民族大学")
    private String universityName;

    @Schema(description = "学院名",  example = "计算机学院")
    private String collegeName;

    @Schema(description = "专业名", example = "软件工程")
    private String majorName;

    @Schema(description = "班级", example = "1001")
    private String classId;

    @Schema(description = "年级", example = "2023")
    private String grade;

    @Schema(description = "角色", example = "student")
    private String role;

    @Schema(description = "创建时间")
    private Date createTime;
}